package blogTest;

import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

/**
 * @author starsea
 * @date 2024-08-13 10:48
 */

public class InitAndEnd {
    static WebDriver webDriver;
    @BeforeAll
    public static void init()
    {
       webDriver=new ChromeDriver();
        webDriver.get("http://127.0.0.1:9999/login.html");
    }
    @AfterAll
    public static void end()
    {
        webDriver.quit();
    }
}
